# main.py
 
# import mymodule

# print(mymodule.greet("Alice"))  # 输出：Hello, Alice!
# print(mymodule.PI)              # 输出：3.14159

import mymodule

print(mymodule.greet("Alice"))
print(mymodule.PI)

import sys
print(sys.path)

# ============================== 
from mymodule import greet
print(greet("World"))  # 应输出 Hello, World!


# from my_package import module1

# print(module1.greet("Alice"))  # Hello, Alice!
# calc = module1.Calculator()
# print(calc.add(2,3))          # 5

import requests
 
response = requests.get("https://api.github.com")
print(response.status_code)  # 输出：200
